<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- 
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License. 
-->
<html>
<head>
    <link type="text/css" rel="stylesheet" href="https://struts.apache.org/css/default.css">
    <style type="text/css">
        .dp-highlighter {
            width:95% !important;
        }
    </style>
    <style type="text/css">
        .footer {
            background-image:      url('https://cwiki.apache.org/confluence/images/border/border_bottom.gif');
            background-repeat:     repeat-x;
            background-position:   left top;
            padding-top:           4px;
            color:                 #666;
        }
    </style>
    <link href='https://struts.apache.org/highlighter/style/shCoreStruts.css' rel='stylesheet' type='text/css' />
    <link href='https://struts.apache.org/highlighter/style/shThemeStruts.css' rel='stylesheet' type='text/css' />
    <script src='https://struts.apache.org/highlighter/js/shCore.js' type='text/javascript'></script>
    <script src='https://struts.apache.org/highlighter/js/shBrushPlain.js' type='text/javascript'></script>
    <script src='https://struts.apache.org/highlighter/js/shBrushXml.js' type='text/javascript'></script>
    <script src='https://struts.apache.org/highlighter/js/shBrushJava.js' type='text/javascript'></script>
    <script src='https://struts.apache.org/highlighter/js/shBrushJScript.js' type='text/javascript'></script>
    <script src='https://struts.apache.org/highlighter/js/shBrushGroovy.js' type='text/javascript'></script>
    <script src='https://struts.apache.org/highlighter/js/shBrushBash.js' type='text/javascript'></script>
    <script type="text/javascript">
        SyntaxHighlighter.defaults['toolbar'] = false;
        SyntaxHighlighter.all();
    </script>
    <script type="text/javascript" language="javascript">
        var hide = null;
        var show = null;
        var children = null;

        function init() {
            /* Search form initialization */
            var form = document.forms['search'];
            if (form != null) {
                form.elements['domains'].value = location.hostname;
                form.elements['sitesearch'].value = location.hostname;
            }

            /* Children initialization */
            hide = document.getElementById('hide');
            show = document.getElementById('show');
            children = document.all != null ?
                    document.all['children'] :
                    document.getElementById('children');
            if (children != null) {
                children.style.display = 'none';
                show.style.display = 'inline';
                hide.style.display = 'none';
            }
        }

        function showChildren() {
            children.style.display = 'block';
            show.style.display = 'none';
            hide.style.display = 'inline';
        }

        function hideChildren() {
            children.style.display = 'none';
            show.style.display = 'inline';
            hide.style.display = 'none';
        }
    </script>
    <title>struts-default.xml</title>
</head>
<body onload="init()">
<table border="0" cellpadding="2" cellspacing="0" width="100%">
    <tr class="topBar">
        <td align="left" valign="middle" class="topBarDiv" align="left" nowrap>
            &nbsp;<a href="home.html">Home</a>&nbsp;&gt;&nbsp;<a href="guides.html">Guides</a>&nbsp;&gt;&nbsp;<a href="core-developers-guide.html">Core Developers Guide</a>&nbsp;&gt;&nbsp;<a href="configuration-files.html">Configuration Files</a>&nbsp;&gt;&nbsp;<a href="struts-defaultxml.html">struts-default.xml</a>
        </td>
        <td align="right" valign="middle" nowrap>
            <form name="search" action="https://www.google.com/search" method="get">
                <input type="hidden" name="ie" value="UTF-8" />
                <input type="hidden" name="oe" value="UTF-8" />
                <input type="hidden" name="domains" value="" />
                <input type="hidden" name="sitesearch" value="" />
                <input type="text" name="q" maxlength="255" value="" />
                <input type="submit" name="btnG" value="Google Search" />
            </form>
        </td>
    </tr>
</table>

<div id="PageContent">
    <div class="pageheader" style="padding: 6px 0px 0px 0px;">
        <!-- We'll enable this once we figure out how to access (and save) the logo resource -->
        <!--img src="/wiki/images/confluence_logo.gif" style="float: left; margin: 4px 4px 4px 10px;" border="0"-->
        <div style="margin: 0px 10px 0px 10px" class="smalltext">Apache Struts 2 Documentation</div>
        <div style="margin: 0px 10px 8px 10px"  class="pagetitle">struts-default.xml</div>

        <div class="greynavbar" align="right" style="padding: 2px 10px; margin: 0px;">
            <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=13819">
                <img src="https://cwiki.apache.org/confluence/images/icons/notep_16.gif"
                     height="16" width="16" border="0" align="absmiddle" title="Edit Page"></a>
            <a href="https://cwiki.apache.org/confluence/pages/editpage.action?pageId=13819">Edit Page</a>
            &nbsp;
            <a href="https://cwiki.apache.org/confluence/pages/listpages.action?key=WW">
                <img src="https://cwiki.apache.org/confluence/images/icons/browse_space.gif"
                     height="16" width="16" border="0" align="absmiddle" title="Browse Space"></a>
            <a href="https://cwiki.apache.org/confluence/pages/listpages.action?key=WW">Browse Space</a>
            &nbsp;
            <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=13819">
                <img src="https://cwiki.apache.org/confluence/images/icons/add_page_16.gif"
                     height="16" width="16" border="0" align="absmiddle" title="Add Page"></a>
            <a href="https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=WW&fromPageId=13819">Add Page</a>
            &nbsp;
            <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=13819">
                <img src="https://cwiki.apache.org/confluence/images/icons/add_blogentry_16.gif"
                     height="16" width="16" border="0" align="absmiddle" title="Add News"></a>
            <a href="https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=WW&fromPageId=13819">Add News</a>
        </div>
    </div>

    <div class="pagecontent">
        <div class="wiki-content">
            <div id="ConfluenceContent"><p>A base configuration file named <code>struts-default.xml</code> is included in the <code>struts2.jar</code> file. This file is automatically included into <code>struts.xml</code> file to provide the standard configuration settings without having to copy them.</p><div class="confluence-information-macro confluence-information-macro-tip"><span class="aui-icon aui-icon-small aui-iconfont-approve confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>To exclude the <code>struts-default.xml</code> or to provide your own version, see the <code>struts.configuration.files</code> setting in <a shape="rect" href="strutsproperties.html">struts.properties</a>.</p></div></div><p>The contents of struts-default.xml are here:</p><div class="code panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
<script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
&lt;!--
/*
 * $Id$
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * &quot;License&quot;); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
--&gt;

&lt;!--
    When declaring beans in this file you must either use name=&quot;struts&quot; or don&#39;t name the bean at all.

    The name=&quot;struts&quot; must be used when alias was defined in {@link org.apache.struts2.config.DefaultBeanSelectionProvider} -
    it is then the default bean&#39;s name and {@link org.apache.struts2.config.DefaultBeanSelectionProvider} links name &quot;struts&quot;
    with &quot;default&quot; (aliasing it)

    If name won&#39;t be defined then the &quot;default&quot; value will be used {@link com.opensymphony.xwork2.inject.Container#DEFAULT_NAME}
    and {@link com.opensymphony.xwork2.inject.Inject}
--&gt;
&lt;!DOCTYPE struts PUBLIC
    &quot;-//Apache Software Foundation//DTD Struts Configuration 2.3//EN&quot;
    &quot;http://struts.apache.org/dtds/struts-2.3.dtd&quot;&gt;

&lt;struts&gt;

    &lt;constant name=&quot;struts.excludedClasses&quot;
              value=&quot;
                java.lang.Object,
                java.lang.Runtime,
                java.lang.System,
                java.lang.Class,
                java.lang.ClassLoader,
                java.lang.Shutdown,
                ognl.OgnlContext,
                ognl.MemberAccess,
                ognl.ClassResolver,
                ognl.TypeConverter,
                com.opensymphony.xwork2.ActionContext&quot; /&gt;
    &lt;!-- this must be valid regex, each &#39;.&#39; in package name must be escaped! --&gt;
    &lt;constant name=&quot;struts.excludedPackageNamePatterns&quot; value=&quot;^java\.lang\..*,^ognl.*,^(?!javax\.servlet\..+)(javax\..+)&quot; /&gt;

    &lt;bean class=&quot;com.opensymphony.xwork2.ObjectFactory&quot; name=&quot;struts&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.factory.ResultFactory&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.factory.StrutsResultFactory&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.factory.ActionFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.factory.DefaultActionFactory&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.factory.ConverterFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.factory.DefaultConverterFactory&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.factory.InterceptorFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.factory.DefaultInterceptorFactory&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.factory.ValidatorFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.factory.DefaultValidatorFactory&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.factory.UnknownHandlerFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.factory.DefaultUnknownHandlerFactory&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.FileManager&quot; class=&quot;com.opensymphony.xwork2.util.fs.DefaultFileManager&quot; name=&quot;system&quot; scope=&quot;singleton&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.FileManagerFactory&quot; class=&quot;com.opensymphony.xwork2.util.fs.DefaultFileManagerFactory&quot; name=&quot;struts&quot; scope=&quot;singleton&quot;/&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.ActionProxyFactory&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.factory.StrutsActionProxyFactory&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.ActionProxyFactory&quot; name=&quot;prefix&quot; class=&quot;org.apache.struts2.factory.PrefixBasedActionProxyFactory&quot;/&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.ObjectTypeDeterminer&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DefaultObjectTypeDeterminer&quot;/&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.util.PatternMatcher&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.util.WildcardHelper&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.util.PatternMatcher&quot; name=&quot;namedVariable&quot; class=&quot;com.opensymphony.xwork2.util.NamedVariablePatternMatcher&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.util.PatternMatcher&quot; name=&quot;regex&quot; class=&quot;org.apache.struts2.util.RegexPatternMatcher&quot;/&gt;

    &lt;bean type=&quot;org.apache.struts2.util.ContentTypeMatcher&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.util.DefaultContentTypeMatcher&quot;/&gt;

    &lt;bean type=&quot;org.apache.struts2.dispatcher.mapper.ActionMapper&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.dispatcher.mapper.DefaultActionMapper&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.dispatcher.mapper.ActionMapper&quot; name=&quot;composite&quot; class=&quot;org.apache.struts2.dispatcher.mapper.CompositeActionMapper&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.dispatcher.mapper.ActionMapper&quot; name=&quot;restful&quot; class=&quot;org.apache.struts2.dispatcher.mapper.RestfulActionMapper&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.dispatcher.mapper.ActionMapper&quot; name=&quot;restful2&quot; class=&quot;org.apache.struts2.dispatcher.mapper.Restful2ActionMapper&quot; /&gt;

    &lt;bean type=&quot;org.apache.struts2.dispatcher.multipart.MultiPartRequest&quot; name=&quot;jakarta&quot; class=&quot;org.apache.struts2.dispatcher.multipart.JakartaMultiPartRequest&quot; scope=&quot;prototype&quot;/&gt;
    &lt;bean type=&quot;org.apache.struts2.dispatcher.multipart.MultiPartRequest&quot; name=&quot;jakarta-stream&quot; class=&quot;org.apache.struts2.dispatcher.multipart.JakartaStreamMultiPartRequest&quot; scope=&quot;prototype&quot;/&gt;

    &lt;bean type=&quot;org.apache.struts2.views.TagLibraryDirectiveProvider&quot; name=&quot;s&quot; class=&quot;org.apache.struts2.views.DefaultTagLibrary&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.views.TagLibraryModelProvider&quot; name=&quot;s&quot; class=&quot;org.apache.struts2.views.DefaultTagLibrary&quot; /&gt;

    &lt;bean class=&quot;org.apache.struts2.views.freemarker.FreemarkerThemeTemplateLoader&quot; /&gt;
    &lt;bean class=&quot;org.apache.struts2.views.freemarker.FreemarkerManager&quot; name=&quot;struts&quot; /&gt;
    &lt;bean class=&quot;org.apache.struts2.views.velocity.VelocityManager&quot; name=&quot;struts&quot; optional=&quot;true&quot; /&gt;

    &lt;bean class=&quot;org.apache.struts2.components.template.TemplateEngineManager&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.components.template.TemplateEngine&quot; name=&quot;ftl&quot; class=&quot;org.apache.struts2.components.template.FreemarkerTemplateEngine&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.components.template.TemplateEngine&quot; name=&quot;vm&quot; class=&quot;org.apache.struts2.components.template.VelocityTemplateEngine&quot; /&gt;
    &lt;bean type=&quot;org.apache.struts2.components.template.TemplateEngine&quot; name=&quot;jsp&quot; class=&quot;org.apache.struts2.components.template.JspTemplateEngine&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.impl.XWorkConverter&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.XWorkConverter&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.ConversionPropertiesProcessor&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DefaultConversionPropertiesProcessor&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.ConversionFileProcessor&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DefaultConversionFileProcessor&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.ConversionAnnotationProcessor&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DefaultConversionAnnotationProcessor&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.TypeConverterCreator&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DefaultTypeConverterCreator&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.TypeConverterHolder&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DefaultTypeConverterHolder&quot; /&gt;

    &lt;bean class=&quot;com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.impl.CollectionConverter&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.CollectionConverter&quot; scope=&quot;singleton&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.impl.ArrayConverter&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.ArrayConverter&quot; scope=&quot;singleton&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.impl.DateConverter&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.DateConverter&quot; scope=&quot;singleton&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.impl.NumberConverter&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.NumberConverter&quot; scope=&quot;singleton&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.impl.StringConverter&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.StringConverter&quot; scope=&quot;singleton&quot;/&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.TextProvider&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.TextProviderSupport&quot; scope=&quot;prototype&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.LocaleProvider&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.DefaultLocaleProvider&quot; scope=&quot;singleton&quot; /&gt;

    &lt;bean type=&quot;org.apache.struts2.components.UrlRenderer&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.components.ServletUrlRenderer&quot;/&gt;
    &lt;bean type=&quot;org.apache.struts2.views.util.UrlHelper&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.views.util.DefaultUrlHelper&quot;/&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.util.ValueStackFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.ognl.OgnlValueStackFactory&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.util.reflection.ReflectionProvider&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.ognl.OgnlReflectionProvider&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.util.reflection.ReflectionContextFactory&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.ognl.OgnlReflectionContextFactory&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.TextProvider&quot; name=&quot;system&quot; class=&quot;com.opensymphony.xwork2.DefaultTextProvider&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.conversion.NullHandler&quot; name=&quot;java.lang.Object&quot; class=&quot;com.opensymphony.xwork2.conversion.impl.InstantiatingNullHandler&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.validator.ActionValidatorManager&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.validator.AnnotationActionValidatorManager&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.validator.ActionValidatorManager&quot; name=&quot;no-annotations&quot; class=&quot;com.opensymphony.xwork2.validator.DefaultActionValidatorManager&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.validator.ValidatorFactory&quot; class=&quot;com.opensymphony.xwork2.validator.DefaultValidatorFactory&quot;/&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.validator.ValidatorFileParser&quot; class=&quot;com.opensymphony.xwork2.validator.DefaultValidatorFileParser&quot; /&gt;

    &lt;bean class=&quot;com.opensymphony.xwork2.ognl.OgnlUtil&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.util.TextParser&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.util.OgnlTextParser&quot; scope=&quot;singleton&quot;/&gt;

    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;com.opensymphony.xwork2.util.CompoundRoot&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.lang.Object&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.ObjectAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.Iterator&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkIteratorPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.Enumeration&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkEnumerationAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.List&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkListPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.Set&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.Map&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.Collection&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;com.opensymphony.xwork2.ognl.ObjectProxy&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.ObjectProxyPropertyAccessor&quot; /&gt;

    &lt;bean type=&quot;ognl.MethodAccessor&quot; name=&quot;java.lang.Object&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.MethodAccessor&quot; name=&quot;com.opensymphony.xwork2.util.CompoundRoot&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.CompoundRootAccessor&quot; /&gt;

    &lt;bean class=&quot;org.apache.struts2.views.jsp.ui.OgnlTool&quot; /&gt;

    &lt;bean type=&quot;org.apache.struts2.dispatcher.StaticContentLoader&quot; class=&quot;org.apache.struts2.dispatcher.DefaultStaticContentLoader&quot; name=&quot;struts&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.UnknownHandlerManager&quot; class=&quot;com.opensymphony.xwork2.DefaultUnknownHandlerManager&quot; name=&quot;struts&quot; /&gt;

    &lt;bean type=&quot;org.apache.struts2.dispatcher.DispatcherErrorHandler&quot; name=&quot;struts&quot; class=&quot;org.apache.struts2.dispatcher.DefaultDispatcherErrorHandler&quot; /&gt;
    
    &lt;constant name=&quot;struts.dispatcher.errorHandler&quot; value=&quot;struts&quot; /&gt;

    &lt;!--  Silly workarounds for OGNL since there is currently no way to flush its internal caches --&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.ArrayList&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkListPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.HashSet&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkCollectionPropertyAccessor&quot; /&gt;
    &lt;bean type=&quot;ognl.PropertyAccessor&quot; name=&quot;java.util.HashMap&quot; class=&quot;com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor&quot; /&gt;

    &lt;bean type=&quot;com.opensymphony.xwork2.security.ExcludedPatternsChecker&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker&quot; scope=&quot;prototype&quot; /&gt;
    &lt;bean type=&quot;com.opensymphony.xwork2.security.AcceptedPatternsChecker&quot; name=&quot;struts&quot; class=&quot;com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker&quot; scope=&quot;prototype&quot; /&gt;

    &lt;package name=&quot;struts-default&quot; abstract=&quot;true&quot;&gt;
        &lt;result-types&gt;
            &lt;result-type name=&quot;chain&quot; class=&quot;com.opensymphony.xwork2.ActionChainResult&quot;/&gt;
            &lt;result-type name=&quot;dispatcher&quot; class=&quot;org.apache.struts2.result.ServletDispatcherResult&quot; default=&quot;true&quot;/&gt;
            &lt;result-type name=&quot;freemarker&quot; class=&quot;org.apache.struts2.views.freemarker.FreemarkerResult&quot;/&gt;
            &lt;result-type name=&quot;httpheader&quot; class=&quot;org.apache.struts2.result.HttpHeaderResult&quot;/&gt;
            &lt;result-type name=&quot;redirect&quot; class=&quot;org.apache.struts2.result.ServletRedirectResult&quot;/&gt;
            &lt;result-type name=&quot;redirectAction&quot; class=&quot;org.apache.struts2.result.ServletActionRedirectResult&quot;/&gt;
            &lt;result-type name=&quot;stream&quot; class=&quot;org.apache.struts2.result.StreamResult&quot;/&gt;
            &lt;result-type name=&quot;velocity&quot; class=&quot;org.apache.struts2.result.VelocityResult&quot;/&gt;
            &lt;result-type name=&quot;xslt&quot; class=&quot;org.apache.struts2.views.xslt.XSLTResult&quot;/&gt;
            &lt;result-type name=&quot;plainText&quot; class=&quot;org.apache.struts2.result.PlainTextResult&quot; /&gt;
            &lt;result-type name=&quot;postback&quot; class=&quot;org.apache.struts2.result.PostbackResult&quot; /&gt;
        &lt;/result-types&gt;

        &lt;interceptors&gt;
            &lt;interceptor name=&quot;alias&quot; class=&quot;com.opensymphony.xwork2.interceptor.AliasInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;autowiring&quot; class=&quot;com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;chain&quot; class=&quot;com.opensymphony.xwork2.interceptor.ChainingInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;conversionError&quot; class=&quot;org.apache.struts2.interceptor.StrutsConversionErrorInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;cookie&quot; class=&quot;org.apache.struts2.interceptor.CookieInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;cookieProvider&quot; class=&quot;org.apache.struts2.interceptor.CookieProviderInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;clearSession&quot; class=&quot;org.apache.struts2.interceptor.ClearSessionInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;createSession&quot; class=&quot;org.apache.struts2.interceptor.CreateSessionInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;debugging&quot; class=&quot;org.apache.struts2.interceptor.debugging.DebuggingInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;execAndWait&quot; class=&quot;org.apache.struts2.interceptor.ExecuteAndWaitInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;exception&quot; class=&quot;com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;fileUpload&quot; class=&quot;org.apache.struts2.interceptor.FileUploadInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;i18n&quot; class=&quot;com.opensymphony.xwork2.interceptor.I18nInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;logger&quot; class=&quot;com.opensymphony.xwork2.interceptor.LoggingInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;modelDriven&quot; class=&quot;com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;scopedModelDriven&quot; class=&quot;com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;params&quot; class=&quot;com.opensymphony.xwork2.interceptor.ParametersInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;actionMappingParams&quot; class=&quot;org.apache.struts2.interceptor.ActionMappingParametersInteceptor&quot;/&gt;
            &lt;interceptor name=&quot;prepare&quot; class=&quot;com.opensymphony.xwork2.interceptor.PrepareInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;staticParams&quot; class=&quot;com.opensymphony.xwork2.interceptor.StaticParametersInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;scope&quot; class=&quot;org.apache.struts2.interceptor.ScopeInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;servletConfig&quot; class=&quot;org.apache.struts2.interceptor.ServletConfigInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;timer&quot; class=&quot;com.opensymphony.xwork2.interceptor.TimerInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;token&quot; class=&quot;org.apache.struts2.interceptor.TokenInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;tokenSession&quot; class=&quot;org.apache.struts2.interceptor.TokenSessionStoreInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;validation&quot; class=&quot;org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;workflow&quot; class=&quot;com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor&quot;/&gt;
            &lt;interceptor name=&quot;store&quot; class=&quot;org.apache.struts2.interceptor.MessageStoreInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;checkbox&quot; class=&quot;org.apache.struts2.interceptor.CheckboxInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;datetime&quot; class=&quot;org.apache.struts2.interceptor.DateTextFieldInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;profiling&quot; class=&quot;org.apache.struts2.interceptor.ProfilingActivationInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;roles&quot; class=&quot;org.apache.struts2.interceptor.RolesInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;annotationWorkflow&quot; class=&quot;com.opensymphony.xwork2.interceptor.annotations.AnnotationWorkflowInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;multiselect&quot; class=&quot;org.apache.struts2.interceptor.MultiselectInterceptor&quot; /&gt;
            &lt;interceptor name=&quot;deprecation&quot; class=&quot;org.apache.struts2.interceptor.DeprecationInterceptor&quot; /&gt;

            &lt;!-- Basic stack --&gt;
            &lt;interceptor-stack name=&quot;basicStack&quot;&gt;
                &lt;interceptor-ref name=&quot;exception&quot;/&gt;
                &lt;interceptor-ref name=&quot;servletConfig&quot;/&gt;
                &lt;interceptor-ref name=&quot;prepare&quot;/&gt;
                &lt;interceptor-ref name=&quot;checkbox&quot;/&gt;
                &lt;interceptor-ref name=&quot;datetime&quot;/&gt;
                &lt;interceptor-ref name=&quot;multiselect&quot;/&gt;
                &lt;interceptor-ref name=&quot;actionMappingParams&quot;/&gt;
                &lt;interceptor-ref name=&quot;params&quot;/&gt;
                &lt;interceptor-ref name=&quot;conversionError&quot;/&gt;
                &lt;interceptor-ref name=&quot;deprecation&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- Sample validation and workflow stack --&gt;
            &lt;interceptor-stack name=&quot;validationWorkflowStack&quot;&gt;
                &lt;interceptor-ref name=&quot;basicStack&quot;/&gt;
                &lt;interceptor-ref name=&quot;validation&quot;/&gt;
                &lt;interceptor-ref name=&quot;workflow&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- Sample file upload stack --&gt;
            &lt;interceptor-stack name=&quot;fileUploadStack&quot;&gt;
                &lt;interceptor-ref name=&quot;fileUpload&quot;/&gt;
                &lt;interceptor-ref name=&quot;basicStack&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- Sample model-driven stack  --&gt;
            &lt;interceptor-stack name=&quot;modelDrivenStack&quot;&gt;
                &lt;interceptor-ref name=&quot;modelDriven&quot;/&gt;
                &lt;interceptor-ref name=&quot;basicStack&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- Sample action chaining stack --&gt;
            &lt;interceptor-stack name=&quot;chainStack&quot;&gt;
                &lt;interceptor-ref name=&quot;chain&quot;/&gt;
                &lt;interceptor-ref name=&quot;basicStack&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- Sample i18n stack --&gt;
            &lt;interceptor-stack name=&quot;i18nStack&quot;&gt;
                &lt;interceptor-ref name=&quot;i18n&quot;/&gt;
                &lt;interceptor-ref name=&quot;basicStack&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- An example of the paramsPrepareParams trick. This stack
                 is exactly the same as the defaultStack, except that it
                 includes one extra interceptor before the prepare interceptor:
                 the params interceptor.

                 This is useful for when you wish to apply parameters directly
                 to an object that you wish to load externally (such as a DAO
                 or database or service layer), but can&#39;t load that object
                 until at least the ID parameter has been loaded. By loading
                 the parameters twice, you can retrieve the object in the
                 prepare() method, allowing the second params interceptor to
                 apply the values on the object. --&gt;
            &lt;interceptor-stack name=&quot;paramsPrepareParamsStack&quot;&gt;
                &lt;interceptor-ref name=&quot;exception&quot;/&gt;
                &lt;interceptor-ref name=&quot;alias&quot;/&gt;
                &lt;interceptor-ref name=&quot;i18n&quot;/&gt;
                &lt;interceptor-ref name=&quot;checkbox&quot;/&gt;
                &lt;interceptor-ref name=&quot;datetime&quot;/&gt;
                &lt;interceptor-ref name=&quot;multiselect&quot;/&gt;
                &lt;interceptor-ref name=&quot;params&quot;/&gt;
                &lt;interceptor-ref name=&quot;servletConfig&quot;/&gt;
                &lt;interceptor-ref name=&quot;prepare&quot;/&gt;
                &lt;interceptor-ref name=&quot;chain&quot;/&gt;
                &lt;interceptor-ref name=&quot;modelDriven&quot;/&gt;
                &lt;interceptor-ref name=&quot;fileUpload&quot;/&gt;
                &lt;interceptor-ref name=&quot;staticParams&quot;/&gt;
                &lt;interceptor-ref name=&quot;actionMappingParams&quot;/&gt;
                &lt;interceptor-ref name=&quot;params&quot;/&gt;
                &lt;interceptor-ref name=&quot;conversionError&quot;/&gt;
                &lt;interceptor-ref name=&quot;validation&quot;&gt;
                    &lt;param name=&quot;excludeMethods&quot;&gt;input,back,cancel,browse&lt;/param&gt;
                &lt;/interceptor-ref&gt;
                &lt;interceptor-ref name=&quot;workflow&quot;&gt;
                    &lt;param name=&quot;excludeMethods&quot;&gt;input,back,cancel,browse&lt;/param&gt;
                &lt;/interceptor-ref&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- A complete stack with all the common interceptors in place.
                 Generally, this stack should be the one you use, though it
                 may do more than you need. Also, the ordering can be
                 switched around (ex: if you wish to have your servlet-related
                 objects applied before prepare() is called, you&#39;d need to move
                 servletConfig interceptor up.

                 This stack also excludes from the normal validation and workflow
                 the method names input, back, and cancel. These typically are
                 associated with requests that should not be validated.
                 --&gt;
            &lt;interceptor-stack name=&quot;defaultStack&quot;&gt;
                &lt;interceptor-ref name=&quot;exception&quot;/&gt;
                &lt;interceptor-ref name=&quot;alias&quot;/&gt;
                &lt;interceptor-ref name=&quot;servletConfig&quot;/&gt;
                &lt;interceptor-ref name=&quot;i18n&quot;/&gt;
                &lt;interceptor-ref name=&quot;prepare&quot;/&gt;
                &lt;interceptor-ref name=&quot;chain&quot;/&gt;
                &lt;interceptor-ref name=&quot;scopedModelDriven&quot;/&gt;
                &lt;interceptor-ref name=&quot;modelDriven&quot;/&gt;
                &lt;interceptor-ref name=&quot;fileUpload&quot;/&gt;
                &lt;interceptor-ref name=&quot;checkbox&quot;/&gt;
                &lt;interceptor-ref name=&quot;datetime&quot;/&gt;
                &lt;interceptor-ref name=&quot;multiselect&quot;/&gt;
                &lt;interceptor-ref name=&quot;staticParams&quot;/&gt;
                &lt;interceptor-ref name=&quot;actionMappingParams&quot;/&gt;
                &lt;interceptor-ref name=&quot;params&quot;/&gt;
                &lt;interceptor-ref name=&quot;conversionError&quot;/&gt;
                &lt;interceptor-ref name=&quot;validation&quot;&gt;
                    &lt;param name=&quot;excludeMethods&quot;&gt;input,back,cancel,browse&lt;/param&gt;
                &lt;/interceptor-ref&gt;
                &lt;interceptor-ref name=&quot;workflow&quot;&gt;
                    &lt;param name=&quot;excludeMethods&quot;&gt;input,back,cancel,browse&lt;/param&gt;
                &lt;/interceptor-ref&gt;
                &lt;interceptor-ref name=&quot;debugging&quot;/&gt;
                &lt;interceptor-ref name=&quot;deprecation&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- The completeStack is here for backwards compatibility for
                 applications that still refer to the defaultStack by the
                 old name --&gt;
            &lt;interceptor-stack name=&quot;completeStack&quot;&gt;
                &lt;interceptor-ref name=&quot;defaultStack&quot;/&gt;
            &lt;/interceptor-stack&gt;

            &lt;!-- Sample execute and wait stack.
                 Note: execAndWait should always be the *last* interceptor. --&gt;
            &lt;interceptor-stack name=&quot;executeAndWaitStack&quot;&gt;
                &lt;interceptor-ref name=&quot;execAndWait&quot;&gt;
                    &lt;param name=&quot;excludeMethods&quot;&gt;input,back,cancel&lt;/param&gt;
                &lt;/interceptor-ref&gt;
                &lt;interceptor-ref name=&quot;defaultStack&quot;/&gt;
                &lt;interceptor-ref name=&quot;execAndWait&quot;&gt;
                    &lt;param name=&quot;excludeMethods&quot;&gt;input,back,cancel&lt;/param&gt;
                &lt;/interceptor-ref&gt;
            &lt;/interceptor-stack&gt;

       &lt;/interceptors&gt;

        &lt;default-interceptor-ref name=&quot;defaultStack&quot;/&gt;

        &lt;default-class-ref class=&quot;com.opensymphony.xwork2.ActionSupport&quot; /&gt;
    &lt;/package&gt;

&lt;/struts&gt;
]]></script>
</div></div><p>This file defines all of the default bundled results and interceptors and many interceptor stacks which you can use either as-is or as a basis for your own application-specific interceptor stacks. <strong>Notice the name of the package is "struts-default"</strong>.</p></div>
        </div>

        
    </div>
</div>
<div class="footer">
    Generated by CXF SiteExporter
</div>
</body>
</html>
